#ifndef __CONFIG_H__
#define __CONFIG_H__
#include <freetype.h>
#include <cJSON.h>
#include <citytab.h>
#include <input_manager.h>
#include <display_manager.h>
#include <network_manager.h>
#include <page_manager.h>

#define TOUCHDEVICE		"/dev/input/event0"	//触摸设备
#define DISPLAYDEVICE	"/dev/fb0"			//显示设备
#define FONTFILE		"Alibaba_PuHuiTi_2.0_55_Regular_55_Regular.ttf" //字体文件
#define SERVER_IP		"116.62.81.138" 	//心知天气IP
#define SERVER_PORT		"80"				//心知天气PORT
#define WEATHER_PORT	"8080"				//天气PORT
#define PRIVATE_KEY		"SCZAaSceaRcM4ke-5"	//心知天气KEY
#define DEFAULT_CITY	"Dazhou"			//默认天气查询城市
#define WEATHERSIZE		32					//每项天气数据缓存大小
#define FONTCODESIZE	32					//每次每行最多显示文字数
#define ICONNAMESIZE	128					//图标名称长度
#define LCDWIDTH		1280				//显示X分辨率
#define LCDHEIGHT		720					//显示Y分辨率

extern PT_displayOpr g_ptDisplayDevice;
extern PT_networkOpr g_ptNetwork;
extern PT_networkOpr g_ptNetServer;

#endif

